from carte import *
from figurine import *

c = Carte( 10, 10 )
c.addMur( 0, 4, 5, HORIZONTAL )
c.addMur( 7, 4, 3, HORIZONTAL )
c.addMur( 7, 2, 2, VERTICAL )

figurine_1 = Figurine( c, 8, 3 )
#figurine_2 = Figurine( c, 5, 4 )
figurine_1.setMouvementRestant( 20 )
print c
l_way = figurine_1.makeShortWay( 2, 6 )
print l_way
figurine_1.moveOnWay(l_way)
print c